#include "oGamePreDefine.h"
#include "oGameEvent.h"

oSwitchEvent oSwitchEvent::_event("PushSwitch");

oSwitchEvent::oSwitchEvent( const string& name ):
oEvent(name)
{ }

void oSwitchEvent::send(int switchId, bool isMe, bool switchRight )
{
	_event.switchId = switchId;
	_event.isMe = isMe;
	_event.switchRight = switchRight;
	oEvent::send(&_event);
}
